projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a6b85a
)
Ignore lib directory for exes check
author
Alex Crichton
<alex@alexcrichton.com>
Tue, 8 Jul 2014 16:30:54 +0000
(09:30 -0700)
committer
Alex Crichton
<alex@alexcrichton.com>
Tue, 8 Jul 2014 16:30:54 +0000
(09:30 -0700)
Apparently older versions of git report all contents of submodules in the
ls-files command!
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 983c1073ce032f1aaa464edfe19aa2fbac5d15c4..7a422faff7ca88262bcc54b71641893710bd831c 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-81,7
+81,7
@@
style:
sh tests/check-style.sh
no-exes:
- find $$(git ls-files) -perm +111 -type f \
+ find $$(git ls-files
| grep -v '^lib'
) -perm +111 -type f \
-not -name '*.sh' -not -name '*.rs' | grep '.*' \
&& exit 1 || exit 0